package persentation.presentAdministrator;

import java.awt.Font;
import java.awt.SystemColor;

import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;

public class BottomPanel extends JPanel{

	/**
	 * Create the panel.
	 */
	
	private ImageIcon buttomIcon;
	private JLabel buttomLabel;
	public BottomPanel(String adminName) {

		setSize(802,707);
		setBackground(SystemColor.menu);
		setLayout(null);
		
		buttomIcon=new ImageIcon("Graphics/adminGraphics/adminbottom.png");
		buttomLabel=new JLabel(buttomIcon);
		buttomLabel.setBounds(10,-75,800,683);
		add(buttomLabel);
	

		JLabel welcomeLabel=new JLabel("欢迎管理员用户");
		welcomeLabel.setFont(new Font("华文新魏", 0, 30));
		welcomeLabel.setBounds(420,0,400,100);
		welcomeLabel.setVisible(true);
		add(welcomeLabel,0);
		
		
		
		JLabel nameLabel=new JLabel(adminName);
		nameLabel.setFont(new Font("华文新魏", 0, 40));
		nameLabel.setBounds(650,0,400,100);
		nameLabel.setVisible(true);
		add(nameLabel,0);
	}
}
